﻿using BLL.Dzb;
using BLL.Gzh;
using BLL.Sys;
using BLL.Webmonitor;
using IBLL.Dzb;
using IBLL.Gzh;
using IBLL.Sys;
using IBLL.Webmonitor;

namespace Web
{
    //简单工厂类，用于集中统一管理具体实例的生成
    public class BLLFactory
    {
        #region 权限系统
        public static IDepartmentService SetDepartmentService()
        {
            return new DepartmentService();
        }
        public static IRoleMenuService SetRoleMenuService()
        {
            return new RoleMenuService();
        }
        public static IMenuService SetMenuService()
        {
            return new MenuService();
        }
        public static IRoleService SetRoleService()
        {
            return new RoleService();
        }
        public static IUserRoleService SetUserRoleService()
        {
            return new UserRoleService();
        }
        public static IUserService SetUserService()
        {
            return new UserService();
        }
        #endregion

        #region 网站监控
        public static IInfoHitService SetInfoHitService()
        {
            return new InfoHitService();
        }
        public static IInfoOriginalService SetInfoOriginalService()
        {
            return new InfoOriginalService();
        }

        public static IKeywordService SetKeywordService()
        {
            return new KeywordService();
        }        

        public static IKeywordType1Service SetKeywordType1Service()
        {
            return new KeywordType1Service();
        }

        public static IKeywordType2Service SetKeywordType2Service()
        {
            return new KeywordType2Service();
        }

        public static IWebsiteJKService SetWebsiteJKService()
        {
            return new WebsiteJKService();
        }

        public static IWebsiteService SetWebsiteService()
        {
            return new WebsiteService();
        }

        public static IWebsiteTypeService SetWebsiteTypeService()
        {
            return new WebsiteTypeService();
        }
        #endregion

        #region 公告号
        public static IXSXXTypeService SetXSXXTypeService()
        {
            return new XSXXTypeService();
        }
        public static IXSXXInfoService SetXSXXInfoService()
        {
            return new XSXXInfoService();
        }
        public static IXSXXClueService SetXSXXClueService()
        {
            return new XSXXClueService();
        }
        public static IPoliceService SetPoliceService()
        {
            return new PoliceService();
        }
        public static ISQJDService SetSQJDService()
        {
            return new SQJDService();
        }
        public static ITSJYService SetTSJYService()
        {
            return new TSJYService();
        }
        public static IWFJBService SetWFJBService()
        {
            return new WFJBService();
        }
        public static IYWLBService SetYWLBService()
        {
            return new YWLBService();
        }
        public static IYWService SetYWService()
        {
            return new YWService();
        }
        public static IYYSMService SetYYSMService()
        {
            return new YYSMService();
        }
        public static IYYXFService SetYYXFService()
        {
            return new YYXFService();
        }
        public static IZLYJService SetZLYJService()
        {
            return new ZLYJService();
        }
        #endregion

        #region 党支部
        public static IPartyService SetPartyService()
        {
            return new PartyService();
        }

        public static IPartyMemberService SetPartyMemberService()
        {
            return new PartyMemberService();
        }
        #endregion
    }
}
